
Version:=1.2
ModuleName:=bridge-utils

Objcet:=$(ModuleName).tar.gz
ObjectDir:=$(ModuleName)-$(Version)
ObjcetSource:=$(ModuleName)-$(Version).tar.gz

DependFiles:=

InstallDir:=$(shell pwd)/tmp/usr/local

.PHONY: all clean dist_clean

all:$(Objcet)

$(Objcet):$(ObjcetSource) 
	tar -xzf $(ObjcetSource)
	mkdir -p $(InstallDir)
	cd $(ObjectDir); autoconf;./configure --prefix=$(InstallDir)
	$(MAKE) -C $(ObjectDir)
	$(MAKE) -C $(ObjectDir) install
	tar -czf $(Objcet) tmp

clean:
	rm -rf tmp $(Objcet)

dist_clean:clean
	rm -rf $(ObjectDir) $(ObjcetSource)
	
include ../../Makefile.Res
